package com.example.yuejian.yuejian.service;

import com.example.yuejian.yuejian.bean.AddComment;
import com.example.yuejian.yuejian.bean.CommentList;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/13.
 */

public interface CommentService {
    //详情
    @GET("CommentList")
    Call<List<CommentList>> commentlist(
            @Query("showphoto_id") String showphotoid
    );

    @GET("AddComment")
    Call<AddComment> addComment(
            @Query("users_id") String users_id,
            @Query("content") String content,
            @Query("showphoto_id") String showphotoid
    );

}
